<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="01_HelloWorld.aspx.cs" Inherits="_01_HelloWorld" Title="Hello World" %>

<%@ Register Assembly="Flan.Controls" Namespace="Flan.Controls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Button ID="Button1" runat="server" Text="Get Time" OnClick="Button1_Click" />
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec et purus. Mauris
    hendrerit enim et eros. Morbi ultricies nonummy nunc. Aliquam nec ligula. Cras at
    nulla. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse potenti.
    Vivamus ullamcorper tincidunt sem. Proin ut orci. Donec id nulla. Aliquam sed justo
    sit amet nibh luctus luctus. Donec sagittis, orci at facilisis scelerisque, lorem
    purus consequat risus, sed lobortis velit nibh a nulla. Curabitur pede. Nunc sed
    nunc. Ut a purus. Quisque id velit. Suspendisse vel nisl. Pellentesque justo nulla,
    dictum sit amet, bibendum nec, adipiscing in, dolor. Suspendisse gravida laoreet
    quam. Aenean quam.<br />
    <br />
    <!--------------UpdatePanelPopupExtender-------------------------->
    <cc1:UpdatePanelPopupExtender ID="UpdatePanelPopupExtender1" runat="server" TargetControlID="UpdatePanel1"
        OffsetX="0" OffsetY="0" CalloutColor="Gray" HorizontalAlign="Right" VerticalAlign="Middle" CalloutBorderColor="Black" />
    <!--------------UpdatePanelPopupExtender-------------------------->
    <div style="display: none">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <div style="background-color: Black; padding: 8px; color: White">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        &nbsp;</div>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
    <ul>
        <li>Button1 has been registered as an async postback control.</li>
        <li>The UpdatePanel is displayed only if the control that caused the async postback</li>
        <li>This UpdatePanel has its UpdateMode set to Conditional and is Updated (.Update)
            when the Button is clicked. is the TargetControlID. </li>
        <li>The UpdatePanel gets hidden if you click anywhere outside the UpdatePanel region.
        </li>
        <li><em>The UpdatePanel does not have a CSS property. Even though the UpdatePanelPopupExtender
            will auto hide the UpdatePanel after the page loads (using javascript), it is recommended
            that you enclose the UpdatePanel in a &lt;div style="display: none"&gt; tag to prevent
            the user from seeing the UpdatePanel while the page is loading.</em></li>
    </ul>
</asp:Content>
